<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>APP</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../../css/dtapp.css" />

<script type="text/javascript" src="../../script/api.js" ></script>
<script type="text/javascript" src="../../script/dtapp.js" ></script>
<script type="text/javascript" src="../../script/zepto.min.js" ></script>

</head>
<body>

<header class="aui-bar aui-bar-nav dt-background-color1" id="aui-header">
        <a class="aui-btn dt-background-color1 aui-pull-left" tapmode onclick="dcloseWin()">
            <span class="aui-iconfont aui-icon-left fz18"><span class="fz16">返回</span></span>
        </a>
        <div class="aui-title" id="cat_title"></div>
</header>

</body>
<script type="text/javascript">
apiready = function(){

    itemid = api["pageParam"]["itemid"];
    module = api["pageParam"]["module"];
    var header = $api.byId('aui-header');
    if(header){
        $api.fixStatusBar(header);
    }
    var headerPos = $api.offset(header);
    var body_h = $api.offset($api.dom('body')).h;
    api.openFrame({
        name: 'sell_show_frm',
        url: 'sell_show_frm.html',
        pageParam: {
                        itemid: itemid,
                        module: module
                    },
        rect:{
            x: 0,
            y: headerPos.h,
            w: 'auto',
            h: body_h - headerPos.h
        },
        bounces: true,
        vScrollBarEnabled: false
    });
};

function setcat_title(headname){
        var headname=headname
        document.getElementById("cat_title").innerText = headname;
}

</script>
</html>